﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FormCategorias.aspx.cs" Inherits="CapaPresentacion.FormCategorias" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 99%;
        }
        .style2
        {
            width: 153px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
       
        <center>
            MANTENIMIENTOS DE&nbsp; CATEGORIAS<br />
            <br />
            <br />
            <br />
            
            <table style="width: 50%; height: 64px;">
                <tr>
                    <td class="style7">
                        INSERTAR CATEGORIAS</td>
                </tr>
            </table>
             <asp:Panel ID="Panel1" runat="server" Width="477px">
    <table class="style1">
        <tr>
            <td class="style2">
                Categoria</td>
            <td>
                <asp:DropDownList ID="DropDownList1" runat="server">
                </asp:DropDownList>
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                Nombre</td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                Descripcion</td>
            <td>
                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                <asp:Button ID="Button1" runat="server" Text="Nuevo" />
            </td>
            <td>
                <asp:Button ID="Button2" runat="server" Text="Grabar" />
            </td>
            <td>
                <asp:Button ID="Button3" runat="server" Text="Buscar" />
            </td>
            <td>
                <asp:Button ID="Button4" runat="server" Text="Eliminar" 
                    onclick="Button4_Click" />
            </td>
        </tr>
    </table>
    
     <center>
     LISTAR CATEGORIA<br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" ForeColor="#333333" GridLines="None" Width="477px">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="IDCategoria" HeaderText="Categoria" />
            <asp:BoundField DataField="Nombre" HeaderText="Nombre" />
            <asp:BoundField DataField="Descripcion" HeaderText="Descripcion" />
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#F5F7FB" />
        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
        <SortedDescendingCellStyle BackColor="#E9EBEF" />
        <SortedDescendingHeaderStyle BackColor="#4870BE" />
    </asp:GridView>
            </asp:Panel>
     </center>
     </center>
    </form>
</body>
</html>
